import Mock from 'mockjs'

const data = Mock.mock({
    'data': [
        { text: '科室', value: 0 },
        { text: '口腔专家', value: 1 },
        { text: '骨科专家', value: 2 },
        { text: '妇科专家', value: 3 },
        { text: '儿童专家', value: 4 },
    ]
})

Mock.mock('/getdoctorkind', 'get', () => {
    return data
})

const data1 = Mock.mock({
    'data': [
        { text: '综合分类', value: 0 },
        { text: '环境', value: 1 },
        { text: '医资', value: 2 },
        { text: '评价', value: 3 },
    ]
})

Mock.mock('/getcomprehensive','get',()=>{
    return data1
})

const data2 = Mock.mock({
    'data': [
        { text: '疾病', value: 0 },
        { text: '神经病', value: 1 },
        { text: '脑血栓', value: 2 },
        { text: '高血压', value: 3 },
    ]
})

Mock.mock('/getdisease','get',()=>{
    return data2
})